From 6d58273da8baea67527de17427b48931c0318cc2 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Wed, 25 Oct 2006 15:29:00 -0600 Subject: [PATCH] [LIBXC][IA64] fix build warning With warnings becoming errors, this fixes the libxc build on ia64 Signed-off-by: Alex Williamson --- tools/libxc/xc_linux_build.c | 2 -- tools/libxc/xenctrl.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/xc_linux_build.c b/tools/libxc/xc_linux_build.c index e215d7e198..a95ebd5c54 100644 --- a/tools/libxc/xc_linux_build.c +++ b/tools/libxc/xc_linux_build.c @@ -446,8 +446,6 @@ static int setup_pg_tables_64(int xc_handle, uint32_t dom, #endif #ifdef __ia64__ -extern unsigned long xc_ia64_fpsr_default(void); - static int setup_guest(int xc_handle, uint32_t dom, const char *image, unsigned long image_size, diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index 8689b18cbd..d4249936c9 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -525,6 +525,8 @@ unsigned long xc_translate_foreign_address(int xc_handle, uint32_t dom, int xc_get_pfn_list(int xc_handle, uint32_t domid, xen_pfn_t *pfn_buf, unsigned long max_pfns); +unsigned long xc_ia64_fpsr_default(void); + int xc_ia64_get_pfn_list(int xc_handle, uint32_t domid, xen_pfn_t *pfn_buf, unsigned int start_page, unsigned int nr_pages); -- 2.30.2